package fun.symtable.system;

import fun.parser.EvaluationException;
import fun.symtable.SymbolTable;

public class max extends BinaryFunction {
	public max() {
		super("max");
	}

	public double getValue(SymbolTable symtable) throws EvaluationException {
		return Math.max(getFirstArgumentValue(symtable), this.getSecondArgumentValue(symtable));
	}
}
